package com.zboot.zbootadmin.common.annotation;

import com.zboot.zbootadmin.common.enums.DataSourceType;

import javax.xml.crypto.Data;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: zyt
 * @Description:
 * @Date: Created in 16:30 2020/12/28
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DataSource {
    public DataSourceType value() default DataSourceType.MASTER;
}

